#![allow(dead_code, mutable_transmutes, non_camel_case_types, non_snake_case, non_upper_case_globals, unused_assignments, unused_mut)]
#[no_mangle]
pub extern "C" fn int_equal(
    mut vlocation1: *mut libc::c_void,
    mut vlocation2: *mut libc::c_void,
) -> libc::c_int {
    let location1: *mut libc::c_int = vlocation1 as *mut libc::c_int;
    let location2: *mut libc::c_int = vlocation2 as *mut libc::c_int;

    unsafe {
        return (*location1 == *location2) as libc::c_int;
    }
}
#[no_mangle]
pub extern "C" fn int_compare(
    mut vlocation1: *mut libc::c_void,
    mut vlocation2: *mut libc::c_void,
) -> libc::c_int {
    let location1: *mut libc::c_int;
    let location2: *mut libc::c_int;

    unsafe {
        location1 = vlocation1 as *mut libc::c_int;
        location2 = vlocation2 as *mut libc::c_int;
    }

    unsafe {
        if *location1 < *location2 {
            return -1;
        } else if *location1 > *location2 {
            return 1;
        } else {
            return 0;
        }
    }
}
